<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:p="http://primefaces.prime.com.tr/ui">
    <h:head></h:head>
    <h:form prependId="false">

    <p:dataTable var="sv" value="#{sinhvienBO.findAll()}" id="list"  rowEditListener="#{sinhvienBO.edit}" selectionMode="single"  paginator="true" rows="10"  
                 paginatorTemplate="{CurrentPageReport}  {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"  
                 rowsPerPageTemplate="5,20,30,50"  >
   
        <f:facet name="header"  >
            Sinh Viên 
        </f:facet>

        <p:column headerText=" Mã Giáo Viên" style="width:150px">

                    <h:outputText value="#{sv.masv}" />
        </p:column>
         <p:column headerText="Ngay Sinh" style="width:150px">
                    <h:outputText value="#{sv.hosv}" />  
        </p:column>
       <p:column headerText="Ngay Sinh" style="width:150px">
                    <h:outputText value="#{sv.tensv}" />  
        </p:column>
        <p:column headerText="Ngay Sinh" style="width:150px">
                    <h:outputText value="#{sv.ngaysinh}" />  
        </p:column>
       
        <p:column headerText="Options">
           
        </p:column>
    </p:dataTable>

</h:form>
</html>				